package org.sell.excepiton;

public class SellException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String exeCode;

	private String otherMsg;

	public SellException(String exeCode, String otherMsg) {
		super();
		this.exeCode = exeCode;
		this.otherMsg = otherMsg;
	}

	public SellException(String exeCode) {
		super();
		this.exeCode = exeCode;
		this.otherMsg = "";
	}

	public String getExeCode() {
		return exeCode;
	}

	public void setExeCode(String exeCode) {
		this.exeCode = exeCode;
	}

	public String getOtherMsg() {
		return otherMsg;
	}

	public void setOtherMsg(String otherMsg) {
		this.otherMsg = otherMsg;
	}

	@Override
	public String toString() {
		return "SellException [exeCode=" + exeCode + ", otherMsg=" + otherMsg
				+ "]";
	}

}
